package com.example.sprinbootdemo.mapper;


import com.example.sprinbootdemo.entity.SalesMan;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface SalesManMapper {
    List<SalesMan> selectAll();
    void addSalesMan(SalesMan salesMan);
    void deleteSalesManBySalesManId(int salesManId);
    void updateSalesManBySalesManId(SalesMan salesMan);
    List<SalesMan> getSalesMenByName(String name);
}
